<me:UIVERSART x:Class="WPFExcelReport.TSVL02"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL"  
                    xmlns:SD="clr-namespace:WPFExcelReport;assembly=TSDDAT"   
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization" 
                    x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <me:UIVERSART.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:NOTBoolToVisibilityConverter x:Key="nbv"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </me:UIVERSART.Resources>
    <WrapPanel>
        <TextBlock   Grid.Column="1" Text="{Binding Source={Localization:Translate Word= 运输方式:}}"></TextBlock>
        <SD:K0208 KEY="{Binding SART,ElementName=TV}"
                   IsEdit="{Binding IsEdit,ElementName=TV}"
                 ORDERNUM="{Binding SART,ElementName=TV}"
                             />
        <TextBlock   Grid.Column="1" Text="{Binding Source={Localization:Translate Word= 承运:}}"></TextBlock>
        <Button  Grid.Column="2" Click="ManageCommand" Width="12" Height="20" HorizontalAlignment="Left" 
                             Visibility="{Binding IsMaster, Converter={StaticResource bv}}" >
            <Button.Background>
                <ImageBrush  ImageSource="/ImagePackage;component/Images/Extend.png" />
            </Button.Background>
        </Button>
        <ComboBox 
           IsEditable="True" 
           Visibility="{Binding IsEdit,ElementName=TV,Converter={StaticResource bv}}"
           Width="100" 
           MinWidth="100" 
           SelectedValuePath="LSLIEFNR" 
           DisplayMemberPath="KEY"
           ItemsSource="{Binding Source={StaticResource vwMaster}}" 
           IsSynchronizedWithCurrentItem="True" 
            >
        </ComboBox  >
        <TextBlock Text="{Binding VBEZ,Source={StaticResource vwMaster},Converter={StaticResource gb2312}}"  />  
    </WrapPanel>
</me:UIVERSART>
